package myself.a000util;

/**
 * @author 叶之越
 * Description
 * Date 2021/1/21
 * Time 19:40
 * Mail 739153436@qq.com
 */
public class NodeCollection {
    public static class SingleNode<T> {
        public T t;
        public SingleNode next;

        public SingleNode() {
        }

        public SingleNode(T t) {
            this.t = t;
        }
    }

    public static class DoubleNode<T> {
        public T t;
        public DoubleNode pre;
        public DoubleNode next;

        public DoubleNode() {
        }

        public DoubleNode(T t) {
            this.t = t;
        }
    }
}
